package com.xxkj.drugtraceability.ui.drugstorage

import com.xxkj.drugtraceability.base.BaseRepository
import com.xxkj.drugtraceability.bean.*
import com.xxkj.drugtraceability.net.Result
import com.xxkj.drugtraceability.net.WanService

/**
 * author: zhoujingjin
 * created on: 2024/9/10 16:15
 * description:
 */
class DrugStorageRepository(private val wanService: WanService):BaseRepository() {
    /**
     * 获取药品入库采集：获取药品入库信息
     */
    suspend fun queryDrugInStorageInfo( inStorageNo:String):Result<BaseData<List<DrugInStorageBean>>>{
       return safeApiCall { executeResponse(wanService.queryDrugInStorageInfo(inStorageNo)) }
    }

}